-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preparations of deep tau ID for hlt phase2 (backport to CMSSW_11_1_X) #32831
Preparations of deep tau ID for hlt phase2 (backport to CMSSW_11_1_X) #32831
Conversation
- input tokens for candidates and taus now use base classes - taus and candidates accessed by dynamic_cast and edm::View - is_online boolean in fillDescriptions - Electron and muon collections empty if is_online - Changed some quantities with functions that calculate quantity differently depending on the input
Removed 2 leftover comments
- Ran "scram build code-checks" and "scram build code-format" - Implemented the new container format. For now the indices of the discriminators are given as inputs in the config file. I will look into using provenance - Switched order of the if statements (for is_online and version checks) in the getPredictions function - turned tau_index to const
…nc to edm::Handle instead of the vector. The way it was before worked in pre3 but switching to pre5 broke that.
- Change TauRefType to edm::RefToBase<reco::BaseTau>
…ching from provenance.
…scriminators into static const
- Added, removed and changed some option for the basicDiscriminators in the deepTauAtHLT.py config file to be more in line with RecoTauTag/Configuration/HPSPFTaus_cff.py
…that the list of working-points is empty
…olation pT-sum The HGCal work-around is motivated by this presentation: https://indico.cern.ch/event/954050/contributions/4013705/attachments/2103331/3536699/HLTTauTrigger_status_2020Sep16.pdf
- added option to save all input variables to JSON file (this feature allows to compare the input variables in C++ vs python/during the DeepTau training)
…x for accessing the grid of low-level variables
…d" to true in ParameterSet description (true restores the old behaviour of the code)
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9586d4/12741/summary.html Comparison SummarySummary:
|
reco::Candidate::Point PositionAtECalEntranceComputer::operator()(const reco::Candidate* particle, bool& success) const { | ||
reco::Candidate::Point PositionAtECalEntranceComputer::operator()(const reco::Candidate* particle, | ||
bool& success) const { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not a part of the listed PRs used for backport.
Apparently, the change is coming from
https://github.com/cms-sw/cmssw/pull/30571/files#diff-225356b5230d327db61da9f1a9a6514e03ec42126c806f2a46fc54c97a7a64ebL19-R20
it seems acceptable to include though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is rather this commit 9457485 which is probably not backported but where I applied the code-format at some point. Sorry for the confusion!
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9586d4/12758/summary.html Comparison SummarySummary:
|
+hlt The only HLT specific change is the addition of a customisation function. |
+1
|
This pull request is fully signed and it will be integrated in one of the next CMSSW_11_1_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_11_3_X is complete. This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Backports #30761 #31744 #32676 #32838 in order to have DeepTauID developments available for phase2 HLT TDR
Prepare DeepTauID such that it can run on AOD inputs and be used within HLT sequences.
#30761 was some central clean up that interferes with the other two PRs. For convenience and consistent state of the code it is included.
PR validation: